class BudgetModel {
  String budgetId;
  String name;
  String goal;
  String spent;
  String budgetType;
  String assigned;
  String unassigned;
  String availableToSpent;
  String created;
  String expirationDate;
  String ts;

  BudgetModel(
      {this.budgetId,
      this.name,
      this.goal,
      this.spent,
      this.budgetType,
      this.assigned,
      this.unassigned,
      this.availableToSpent,
      this.created,
      this.expirationDate,
      this.ts});

  BudgetModel.fromJson(Map<String, dynamic> json) {
    budgetId = (json['budgetId']??'').toString();
    name = json['name'];
    goal = (json['goal'] ?? '').toString();
    spent = (json['spent'] ?? '').toString();
    budgetType = json['budgetType'];
    assigned = (json['assigned'] ?? '').toString();
    unassigned = (json['unassigned']??'').toString();
    availableToSpent = (json['availableToSpent']??'').toString();
    created = (json['created']??'').toString();
    expirationDate = json['expirationDate'];
    ts = (json['ts']??'').toString();
  }

}
